package main

import "fmt"

func main() {
	arr := []int{1, 2, 3, 4, 5, 6}
	cut1 := arr[1:3]

	cut1[0] = 999
	fmt.Println(cut1)
	fmt.Printf("%p\n", arr)
	fmt.Printf("%p\n", cut1)

	cut2 := arr[0:3]
	fmt.Printf("%p\n", arr)
	fmt.Printf("%p", cut2)
}
